using System;
using System.Xml.Serialization;

namespace Se.Framework.Common.Config.Urls
{
    [Serializable]
    [XmlType("UrlQueryStringPart")]
    [XmlRoot(ElementName = "UrlQueryStringPart")]
    public abstract class UrlQueryStringPart : UrlSection
    {
        public override string ToString()
        {
            return string.Format("{0}={1}", Key, Value == null ? "[VALUE]" : Value);
        }
    }
}